package com.lr.mapper;

import com.lr.entity.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface IndexMapper {

    public List<Menu> getHeadMenu();

    public List<Menu> getRightMenu();

    public List<Menu> getBottom1Menu();
    public List<Menu> getBottom2Menu();

    public List<Article> getArticleByType(@Param("type") Integer type,@Param("num") Integer num);
    public Article getArticleById(Integer id);
    public List<Recruit> getRecruit();
    public List<Recruit> getResume();
    public List<Recruit> getJobFair();
    public List<Article> getNews();
    public List<Resume> getPer();
    public List<Resume> getResumeByLink(Resume resume);
    public List<Recruit> getRecruitByLink(Recruit recruit);
    public List<JobFair> getJobFairByLink(JobFair jobFair);
    public JobFair getJobFairById(Integer id);
    public Resume getResumeById(Integer resumeId);
    public Recruit getRecruitById(Integer recruitId);




}
